<?php
/**
 * Created by PhpStorm.
 * User: dengyun
 * Date: 2017/8/20
 * Time: 0:43
 */

namespace app\Controller;


use core\Controller;

class AdminController extends Controller
{
    public function __construct()
    {
        echo 'aaaaaa';
    }

    public function index()
    {
        $this->display('admin',null,false);
    }

    public function login()
    {
        $this->display('login',null,false);
    }

    public function add()
    {
        $this->display('add',null,false);
    }

    public function edit($id)
    {
        $this->display('edit',null,false);
    }

    public function del()
    {

    }

}